package com.lagou.service;

import com.lagou.pojo.Token;
import com.lagou.pojo.User;

import java.util.Map;

public interface UserService {

    User addUser(String email,String password);

    User findUser(String email);

    String fingEmailByToken(String token);

    Boolean validateUser(String email, String password);

    Token addToken(String email,String token);
}
